Skip to content

ARROW-109: [C++] Add nesting stress tests up to 500 recursion depth - #357

Closed
wesm wants to merge 1 commit into
apache:masterfrom
wesm:ARROW-109
Closed

wesm wants to merge 1 commit into
apache:masterfrom
wesm:ARROW-109

Conversation

@wesm

@wesm wesm commented Mar 4, 2017

Copy link
Copy Markdown
Member

There doesn't appear to be any limit to the nesting depth permitted in the flatbuffers. I think what @emkornfield was running into was the size of the IPC payload exceeding the size of the memory map that was being allocated to accommodate it. I expanded the memory map size and was able to write schemas with 1000 and 5000 levels of nesting. I left a unit test with 500 depth which doesn't take too long to run.

…mory map

Change-Id: Id6bdee0aad6ebea2338c383ea31e47b6febdae1d

@xhochy xhochy left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

+1, LGTM

@asfgit asfgit closed this in 9deb325 Mar 5, 2017
@wesm
wesm deleted the ARROW-109 branch March 12, 2017 17:40
wesm pushed a commit to wesm/arrow that referenced this pull request Sep 8, 2018
Author: Phillip Cloud <cpcloud@gmail.com>

Closes apache#357 from cpcloud/PARQUET-1038 and squashes the following commits:

5fc6276 [Phillip Cloud] Ridiculous hack
b7401e0 [Phillip Cloud] Pass specific gcov
8c99235 [Phillip Cloud] Turn off haskell
fbbc45e [Phillip Cloud] PARQUET-1038: Key value metadata should be nullptr if not set

Change-Id: I9b9865e900e641a0784dfff8e0821591cb580312
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants